package com.example.rentalclearing.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "rental.clearing")
public class ClearingConfig {
    /**
     * 分页查询大小
     */
    private int pageSize = 500;
    
    /**
     * 批处理并发线程数
     */
    private int batchThreads = 30;
}